using System;
using System.Collections.Generic;
using System.Text;
using NBusiness.CodeDom.Services;

namespace NBusiness.CodeDom
{
    [Serializable]
	public abstract class EntityRule : EntityCompileUnit, IHasParent, IInheritable
	{
        private string _name;
        public string Name 
        {
            get { return _name; }
            set { _name = value; }
        }

        private Entity _parent;
        public IHasParent Parent
        {
            get { return _parent; }
            set { _parent = (Entity)value; }
        }
	}
}
